home *** CD-ROM | disk | FTP | other *** search
- Documentation for CHECKRTC
- --------------------------
-
- CHECKRTC is a program to check the accuracy of the Real Time Clock
- (RTC) on the TT030. It does so by comparing elapsed time as measured
- by the RTC, with that measured by the 200Hz system tick counter.
-
- It was written because my TT was losing time, and I wanted to:
- a) verify that this happened constantly (rather than e.g. just
- at bootup)
- b) allow others to check their TTs, and thereby determine if
- it was just a problem with my system
- c) write some more low-level hardware code.
-
- When CHECKRTC is invoked, it first checks that it's on a TT. If it
- isn't, it exits with a message. Otherwise, it saves the current
- values of the RTC and the system tick counter, and waits for a
- keypress. Pressing the "Esc" key will terminate the program;
- otherwise, each time a key is pressed, the current time/date will be
- displayed, followed by the elapsed time since the program start, as
- measured by the RTC and the system tick counter. If these values
- are the same, a message is issued to indicate the limits of accuracy
- of the measurement. Otherwise, a message indicates if the RTC is
- fast or slow compared to the system tick counter, and by how much
- per day. This calculated value will fluctuate somewhat when short
- intervals are measured, but should approach a steady value as the
- intervals grow longer.
-
-
- Comments, complaints and compliments to Roger Burrows at one of the
- following addresses:
-
- GEnie
- Userid: R.BURROWS1
-
- NCAUG BBS (613) 231-3630
- Userid: Roger Burrows
-
- Mail: Anodyne Software
- 6 Cobbler Court
- Ottawa
- Ontario K1V 0B8
- CANADA.
-
-
- CHECKRTC is copyright ╜ Roger Burrows 1992, but may be distributed
- freely provided that both the program and this documentation file
- remain unaltered, and are distributed together in an archive.
-